package com.insigma.business.qrcode.intell._bff;

import com.insigma.business.qrcode.common.template.BasePagingResponse;
import com.insigma.business.qrcode.intell.dto.CareSoldierDemandInsertRequest;
import com.insigma.business.qrcode.common.annotation.ApiServiceType;
import com.insigma.business.qrcode.common.dto.CommonQaInfoSearchRequest;
import com.insigma.business.qrcode.common.dto.QaResult;
import com.insigma.business.qrcode.common.vo.BaseResponse;
import com.insigma.business.qrcode.soldier.dto.CareSoldierDemandDTO;
import com.insigma.business.qrcode.soldier.request.BaseGetRequest;
import com.insigma.business.qrcode.soldier.request.CareSoldierDemandSearchRequest;
import com.insigma.business.qrcode.soldier.request.CommonQaInfoUpdateRequest;

import java.util.List;

public interface CareSoldierDemandBffService {
    //对话列表  智能回答
    @ApiServiceType(value = "all.ss.soldier.intelligent.advisory", name = "智能回答", desc = "智能回答")
    BaseResponse<QaResult> intelligentQA(final CommonQaInfoSearchRequest searchRequest);

    @ApiServiceType(value = "all.ss.soldier.demand.save", name = "提交诉求", desc = "提交诉求", opsLog = "诉求")
    BaseResponse<String> saveCareSoldierDemandBySoldier(final CareSoldierDemandInsertRequest request);

    @ApiServiceType(value = "all.ss.soldier.demand.my.search", name = "查询数据列表", desc = "查询数据列表")
    BasePagingResponse<List<CareSoldierDemandDTO>> searchMyCareSoldierDemand(CareSoldierDemandSearchRequest request);

    @ApiServiceType(value = "all.ss.soldier.demand.get", name = "根据id查询", desc = "根据id查询")
    BaseResponse<CareSoldierDemandDTO> getCareSoldierDemand(final BaseGetRequest request);
    @ApiServiceType(value = "all.ss.soldier.intelligent.evaluate", name = "评价是否有用", desc = "评价是否有用")
    BaseResponse<String> evaluateQa(CommonQaInfoUpdateRequest request);

    @ApiServiceType(value = "all.ss.soldier.demand.evaluate", name = "评分", desc = "评分", opsLog = "诉求")
    BaseResponse<String> evaluateDemand(final CareSoldierDemandInsertRequest careSoldierDemandInsertRequest);
}
